
/**
 * 违停页面接口管理
 * @module park
 */

import req from './index'
/**
 * 获取微章
 * @method getActivateBadge
 * @param {token}
 * 
 */
const getActivateBadge = (token) => {
    return req.put('invitation/illegalParking/activateBadge', null, { token: token })
}

/**
 * 获取微章个数
 * @method getBadgeCount
 * @param {token}
 * 
 */

const getBadgeCount = (token) => {
    return req.get(`invitation/illegalParking/badgeCount`, null)
}


export { getActivateBadge, getBadgeCount };